import styled from "styled-components";

export const HotRecommendWrapper = styled.div`
    .item-content {
        display: flex;
        flex-wrap: wrap;
    }
    .hot-recommend-item {
        position: relative;
        width: 140px;
        margin-top: 20px;
        .desc {
            font-size: 14px;
            margin: 10px 0;
        }
        .model {
            position: absolute;
            width: 140px;
            height: 140px;
            background-position: 0 0;
            left: 0;
            top: 0;
            .model-link {
                width: 100%;
                height: 113px;
                display: inline-block;
                cursor: pointer;
            }
            .bottom-wrapper {
                justify-content: space-between;
                align-items: center;
                display: flex;
                position: absolute;
                color: #ccc;
                height: 27px;
                background-position: 0 -537px;
                width: 100%;
                left: 0;
                bottom: 0;
                .icon {
                    display: inline-block;
                    width: 14px;
                    height: 11px;
                    margin: 0 10px;
                    background-position: 0 -24px;
                }
                .count {
                    font-size: 12px;
                }
                .right-icon {
                    width: 16px;
                    height: 17px;
                    background-position: 0 0;
                    margin: 0 10px;
                    cursor: pointer;
                }
            }
        }
    }
    .hot-recommend-item-left {
        margin-left: 43px;
    }
`;


export const ImgArapper = styled.div`
    position: relative;
    width: 140px;
    height: 140px;
    background: url(${props => props.url}) no-repeat center;
`;